* {
  padding: 0;
  margin: 0;
  list-style: none;

}

a {
  text-decoration: none;
  outline: none;
  color: black;
}

body,
html {
  width: 100vw;
  height: 100%;
  color: #575757;
}

header {
  width: 100%;
  /* height: 22%; */
  color: #fff;
  background: linear-gradient(to right, #3071FF 0%, #30A3FF 100%);
}

header .header-top {
  padding: 15px 0;
  display: flex;
}

header .header-top span {
  margin: auto;
  font-size: 14px;
  font-weight: 600;
}

header .header-top a img {
  width: 11px;
}

header .header-top a {
  margin-left: 10px;
}

header .search {
  width: 90%;
  height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #F2F2F2;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

header .search img {
  padding-left: 10px;
  width: 25px;
}

header .search input {
  outline:none;
  width: 90%;
  border: none;
  height: 25px;
  padding-left: 15px;
  background: #F2F2F2;
  color:#000;
}

.header-nav {
  box-sizing: border-box;
  padding: 20px 30px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.header-nav span {
  position: relative;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

.header-nav span::after {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  position: relative;
  top: 12px;
  left: 5px;
}


main {
  width: 100%;
  height: 78vh;
  position: relative;
} 

main ul.con_list{
  width: 96%;
  box-sizing: border-box;
  padding: 10px 0;
  margin: 0 auto;
  /* display: none; */
}

main ul.con_list>li {
  display: flex;
  align-items: center;
  height: 70px;
  margin-bottom: 15px;
}

main ul.con_list>li .commodity-img{
  height: 100%;
  width: 20%;
}
.commodity-img img {
  height: 100%;
  width: 100%;
}

main ul.con_list>li .commodity-info {
  width: 60%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 3px;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.commodity-info .info-title {
  font-size: 12px;
}
.commodity-info .info-num {
  margin-top: -5px;
}
.commodity-info .info-online {
  color: #EF6B4B;
}
.commodity-info .info-online span:nth-of-type(1){
  /* border: 1px solid black; */
  padding: 0 3px;
  background: #EF6B4B;
  color: #fff;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

main ul.con_list>li .commodity-price {
  width: 20%;
  height: 100%;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.commodity-price .ship img{
  height: 10px;
}
.commodity-price .jiami img{
  height: 10px;
}
.commodity-price .yuan-num{
  color: #ccc;
  margin-top: 8px;
}
.commodity-price .dq-num {
  font-size: 16px;
  color: #EF6B4B;
}



/* 遮罩层 */
main .box {
  width: 100%;
  height: 100%;
  background: rgba(53, 52, 52, .6);
  position: absolute;
  left: 0;
  top: 0;
  /* display: none; */
}
/* 第一个按钮 */
main .box .sort {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 240px; */
  color: #787878;
  display: flex;
  background: #fff;
  border-radius: 0 0 15px 15px;
  -webkit-border-radius: 0 0 15px 15px;
  -moz-border-radius: 0 0 15px 15px;
  -ms-border-radius: 0 0 15px 15px;
  -o-border-radius: 0 0 15px 15px;
  /* display: none; */
}

.sort-left {
  width: 25%;
  font-size: 12px;
}
.sort-left ul {
  background: #F7F7F7;
  margin: 0;
  display: flex;
  height: 100%;
  justify-content: space-around;
  flex-direction: column;
}
.sort-left ul>li {
  height: 40px;
  width: 100%;
  margin-bottom: 0;
  line-height: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.sort-left ul>li.target {
  font-weight: bolder;
  font-size: 16px;
}

.sort-right {
  width: 75%;
  font-size: 10px;
  color: #707070;
}

.sort-right ul {
  width: 100%;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  flex-wrap: wrap;
  margin-top: 20px;
}

.sort-right ul li {
  width: 33%;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 20px;
}
.sort-right ul li img {
  width: 42px;
}
.sort-right ul li span {
  margin-top: 10px;
}
.sort-right ul li p.line{
  height: 3px;
  border-radius: 2.5px;
  background-color: #787878;
  width: 68%;
}

/* 第二个按钮 */
main .box .norm {
  width: 100%;
  color: #787878;
  /* display: flex; */
  background: #fff;
  border-radius: 0 0 15px 15px;
  -webkit-border-radius: 0 0 15px 15px;
  -moz-border-radius: 0 0 15px 15px;
  -ms-border-radius: 0 0 15px 15px;
  -o-border-radius: 0 0 15px 15px;
  /* display: none; */
}
.norm>ul {
  width: 100%;
}
.norm>ul>li{
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-bottom: 1px solid rgb(226, 226, 226);
}
.norm>ul>li:nth-last-child(1) {
  border-bottom: none;
}

/* 第三个按钮 */
main .box .default {
  width: 100%;
  color: #787878;
  /* display: flex; */
  background: #fff;
  border-radius: 0 0 15px 15px;
  -webkit-border-radius: 0 0 15px 15px;
  -moz-border-radius: 0 0 15px 15px;
  -ms-border-radius: 0 0 15px 15px;
  -o-border-radius: 0 0 15px 15px;
  /* display: none; */
}
.default>ul {
  width: 100%;
}
.default>ul>li{
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-bottom: 1px solid rgb(226, 226, 226);
}
.default>ul>li:nth-last-child(1) {
  border-bottom: none;
}


/* 媒体查询 */
@media screen and (min-width: 500px) {
  body {
    margin: 0 auto;
    width: 375px;
    border: 1px solid grey;
    z-index: 999;
  }

  footer {
    position: relative;
    left: 0%;
    width: 375px;
    z-index: 999;
  }
}

/* 密码输入框 */
.pwd_input{
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.4);
  left: 0;
  top:0;
  box-sizing: border-box;
  padding:70vh 5vw 0 5vw;
}
.pwd_input>div{
  margin-bottom: 20px;
}
.van-field{
  border-radius: 22px;
}
.van-button{
  display: block;
  margin: 0 auto;
}